package com.cloudkinto.dto.order.returns;

import com.cloudkinto.dto.order.returns.product.ProductQtyDto;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
public class OrderReturnUtilDto extends ProductQtyDto {
    private Long id;

    @ApiModelProperty("清点状态 1不可以清点 2可以清点")
    private Integer checkStatus;

    @ApiModelProperty("上架状态 1不可以上架 2可以上架")
    private Integer putStatus;
    @ApiModelProperty("仓库id")
    private Long warehouseId;
    @ApiModelProperty("仓库代码")
    private String whCode;
    @ApiModelProperty("仓库名称")
    private String whNameCn;

    @ApiModelProperty("状态")
    private Integer status;

    @ApiModelProperty("退件单号")
    private String returnNo;

    @ApiModelProperty(" 退件类型 1平台退件 2买家退件 3服务商退件")
    private Integer returnType;

    /**
     * 预计到达时间
     */
    @ApiModelProperty("预计到达时间")
    @JsonFormat(shape = JsonFormat.Shape.STRING,pattern = "yyyy-MM-dd",timezone = "GMT+9")
    private Date expectedDate;


    @ApiModelProperty("移除单号")
    private String removeNo;

    @ApiModelProperty("参考单号")
    private String referOrderNo;


    @ApiModelProperty("备注/客户备注")
    private String remark;


    @ApiModelProperty("仓库备注/收货备注")
    private String warehouseRemark;

    @ApiModelProperty("oms 单位英制in 公制 cm")
    private String sizeUnit;

    @ApiModelProperty("wms单位")
    private String wmsSizeUnit;

    @ApiModelProperty("公司id")
    private Long companyId;
    @ApiModelProperty("公司名称")
    private String companyName;
    @ApiModelProperty("公司代码")
    private String companyCode;

    @ApiModelProperty("创建时间")
    private Date createTime;

    private String createByName;

    @ApiModelProperty("提交时间")
    private Date submitTime;
    private String submitByName;


    @ApiModelProperty("开始处理时间")
    private Date signTime;
    private String signByName;

    @ApiModelProperty("清点完成时间")
    private Date inventoriedTime;
    private String inventoriedByName;


    @ApiModelProperty("完成时间")
    private Date putawayTime;
    private String putawayByName;

    @ApiModelProperty("取消时间")
    private Date cancelTime;
    private String cancelByName;

    @ApiModelProperty("签收时间")
    private Date reachTime;

}
